<!--<TITLE>YellowPages.vn - Vietnam Business Yellow Pages Directory - Trang Vang Vietnam</TITLE> -->
<link href="../images/style.css" rel="stylesheet" type="text/css">
<link href="../css/usercss.css" rel="stylesheet" type="text/css">
<link href="images/style.css" rel="stylesheet" type="text/css">
<link href="css/usercss.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="images/style_orange.css" title="style2" />
<link rel="alternate stylesheet" type="text/css" href="images/style_green.css" title="style3" />
<link rel="alternate stylesheet" type="text/css" href="images/style_prink.css" title="style4" />
<link rel="alternate stylesheet" type="text/css" href="images/style_skyblue.css" title="style1" />
<style type="text/css">
	.style1 {color: #990000; font-weight: bold;}
</style>
 <form name="frmMain" action="{s_action}" method="post" onSubmit="return submitContact(frmMain)">
 <input type="hidden" name="hdCheck" value="{hdranima}">
 <input type="hidden" name="contactID" value="{contactID}">
 <input name="chkSes" value="{chkSes}" type="hidden">
<table width="100%"  border="0" align="center" cellpadding="2" cellspacing="0">
  <tr align="center">
    <td colspan="3" valign="middle"><span class="style1"><br>Send Your Inquiry</span></td>
    </tr>
  <tr>
    <td align="right" valign="top" nowrap  class="text-default" height="10"></td>
    <td height="10" align="center" valign="top"  class="text-default"></td>
    <td height="10" align="left"  class="text-default"></td>
  </tr>
  <tr>
    <td width="28%" align="right" valign="top" nowrap  class="text-default"> To </td>
    <td width="1%" align="center" valign="top"  class="text-default">:</td>
    <td width="71%" align="left" class="text-default">{company}
      <div id="divCompany" style="display:none">{con_company}</div></td>
  </tr>
  <tr>
    <td align="right" nowrap  class="text-default">Initial Order Quantity</td>
    <td align="center"  class="text-default">:</td>
    <td align="left" class="text-default"><input name="txtQuantity" type="text" id="txtQuantity" size="50"></td>
  </tr>
  <tr>
    <td align="right"  class="text-default">*Subject<br>
      <span class="header">(5-225 characters)</span></td>
    <td align="center"  class="text-default">:</td>
    <td align="left" class="text-default"><input name="txtSubject" type="text" id="txtSubject" size="50"></td>
  </tr>
  <tr>
    <td align="right" valign="top"  class="text-default"> * Message<br>
      <span class="header">(20-3000 characters) </span></td>
    <td align="center" valign="top"  class="text-default">:</td>
    <td align="left" class="text-default"><textarea name="txtMessage" cols="50" rows="5" class="input" id="txtMessage"></textarea>					</td>
  </tr>
  <tr>
    <td align="right" class="text-default">&nbsp;</td>
    <td align="center">&nbsp;</td>
    <td align="left" class="text-default"></td>
  </tr>
</table>
 <table width="100%"  border="0" align="center" cellpadding="2" cellspacing="0">
   <tr class="Title">
     <td height="25" colspan="3" align="center" class="col1">&nbsp;<span class="style1"><strong>Please provide your contact information <br><br></strong></span></td>
   </tr>
   <tr>
     <td width="28%" align="right" nowrap  class="text-default"> * Name </td>
     <td width="1%" align="center"  class="text-default">:</td>
     <td width="71%"  class="text-default"> First Name:  
      <input name="txtFirsName" type="text" id="txtFirsName"></td>
   </tr>
   <tr>
     <td align="right" nowrap  class="text-default">&nbsp;</td>
     <td align="center"  class="text-default">&nbsp;</td>
     <td  class="text-default">Last Name:  
 <input name="txtLastName" type="text" id="txtLastName"></td>
   </tr>
   <tr>
     <td align="right" nowrap  class="text-default">  Company Name </td>
     <td width="1%" align="center"  class="text-default">:</td>
     <td width="73%"  class="text-default"><input name="txtCompany" type="text" id="txtCompany" size="50"></td>
   </tr>
   <tr>
     <td align="right" nowrap  class="text-default">* Country/Territory</td>
     <td width="1%" align="center"  class="text-default">:</td>
     <td width="73%"  class="text-default">
	    <select name="optContry" id="optContry">
		   <option value="" selected>*please select*</option>
		  <!-- BEGIN country -->
		  <option value="{country.bvalue}">{country.bcaption}</option>
		  <!-- END country -->
      </select>	  </td>
   </tr>
   <tr>
     <td align="right" nowrap  class="text-default"> * Business Address </td>
     <td width="1%" align="center"  class="text-default">:</td>
     <td width="73%"  class="text-default"><input name="txtAddress" type="text" id="txtAddress" size="50"></td>
   </tr>
   <tr>
     <td align="right"  nowrap  class="text-default"> * Business Email </td>
     <td width="1%" align="center"  class="text-default">:</td>
     <td width="73%"  class="text-default"><input name="txtEmail" type="text" id="txtEmail" size="50"></td>
   </tr>
   <tr>
     <td align="right" nowrap  class="text-default">  Business Phone </td>
     <td width="1%" align="center"  class="text-default">:</td>
     <td width="73%"  class="text-default"> Country code&nbsp;&nbsp;  
	 Area code &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	  
	 Tel.number&nbsp; 
	 </td>
   </tr>
   <tr>
     <td align="right" nowrap  class="text-default">&nbsp;</td>
     <td align="center"  class="text-default">&nbsp;</td>
     <td  class="text-default"><input name="txtContrycode" type="text" id="txtContrycode2" value="" size="8" maxlength="8">
	 &nbsp;&nbsp;
	 <input name="txtAreacode" type="text" id="txtAreacode3" value="" size="8" maxlength="8">&nbsp;&nbsp;&nbsp;
      <input name="txtBussinessPhone" type="text" class="input" id="txtBussinessPhone3" value="" size="20" maxlength="20"></td>
   </tr>
   <tr>
     <td align="right"   nowrap  class="text-default">  Fax Number </td>
     <td width="1%" align="center"  class="text-default">:</td>
     <td width="73%"  class="text-default"> Country code&nbsp;&nbsp; 
	 Area code &nbsp;&nbsp; &nbsp; &nbsp;  Fax.number 
	 </td>
   </tr>
   <tr>
     <td align="right"   nowrap  class="text-default">&nbsp;</td>
     <td align="center"  class="text-default">&nbsp;</td>
     <td  class="text-default"><input name="txtContrycodefax" type="text" id="txtContrycodefax2" value="" size="8" maxlength="8">
     &nbsp;&nbsp; <input name="txtAreacodefax" type="text" id="txtAreacodefax2" value="" size="8" maxlength="8">&nbsp;&nbsp;&nbsp;
      <input name="txtBussinessPhonefax" type="text" class="input" id="txtBussinessPhonefax2" value="" size="20" maxlength="20"></td>
   </tr>
   <!--<tr>
     <td align="right"   nowrap  class="text-default"> * Confirm Text </td>
     <td align="center"  class="text-default">&nbsp;</td>
     <td  class="text-default"><input name="txtRanID" type="text" id="txtRanID" value="{hdranima}">&nbsp;<img src="{getImage}creatiamges.php?ranID={ranima}" align="absmiddle"></td>
   </tr>-->
   <tr>
     <td  nowrap>&nbsp;</td>
     <td align="center" class="text-default">&nbsp;</td>
     <td class="text-default">* Required information</td>
   </tr>
   <tr>
     <td  nowrap>&nbsp;</td>
     <td align="center" class="text-default">&nbsp;</td>
     <td class="text-default"><input type="submit" name="Submit" value=" " id="bottomsend">
    <input type="reset" name="reset" value=" " id="bottomreset"></td>
   </tr>
 </table>
 </form>
<script language="javascript" src="js/jsfunc.js"></script>
<script language="javascript"> 
function displayDiv(){
	if (divCompany.style.display == 'none') {
		divCompany.style.display = '';			 
	} else {
		divCompany.style.display = 'none';			 
	}
}
function submitContact(frm){
	if(frm.txtQuantity.value==""){
		alert("Xin hay nhap so luong.")
		frm.txtQuantity.focus()
		return false
	}
	if(frm.txtSubject.value==""){
		alert("Please input your message's subject.")
		frm.txtSubject.focus()
		return false
	}
	if(frm.txtMessage.value==""){
	 	alert("Please input your message.")
		frm.txtMessage.focus()
		return false
	}
	if(frm.txtFirsName.value==""){
	 	alert("Please input your  First Name.")
		frm.txtFirsName.focus()
		return false
	}
	if(frm.txtLastName.value==""){
	 	alert("Please input your  First Name.")
		frm.txtLastName.focus()
		return false
	}
	if(frm.optContry.value==""){
	 	alert("Please select your country.")
		frm.optContry.focus()
		return false
	}
	if(frm.txtAddress.value==""){
	 	alert("Please input your address.")
		frm.txtAddress.focus()
		return false
	}
	if(!isemail(frm.txtEmail.value)){
	 	alert("Please input your email.")
		frm.txtEmail.focus()
		return false
	}
	/*if(frm.txtRanID.value!=frm.hdCheck.value){
	 	alert("Please enter the text you see in the picture")
		frm.txtRanID.focus()
		return false
	}*/
	return true
}
</script>